<!DOCTYPE html>
<html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-0 vector-toc-not-available vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-0 vector-feature-night-mode-enabled skin-theme-clientpref-os vector-sticky-header-enabled" lang="fr" dir="ltr"><head>
<meta charset="UTF-8">
<title>Code::Blocks</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="./_res_/favicon.png">
<link rel="canonical" href="https://fr.wikipedia.org/wiki/Code%3A%3ABlocks"> <link href="./_mw_/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.wikimediamessages.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./_mw_/site.styles.css">
<link rel="stylesheet" type="text/css" href="./_mw_/noscript.css">
<link rel="stylesheet" type="text/css" href="./_res_/footer.css">
<link rel="stylesheet" type="text/css" href="./_res_/vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Code_Blocks rootpage-Code_Blocks skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">Code::Blocks</span></h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="contentSub">
<div id="mw-content-subtitle"></div>
</div>
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="fr" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="fr" dir="ltr">
<div class="infobox_v3 infobox infobox--frwiki noarchive" style="width:260px">
<div class="entete icon informatique" style="color: #000000;"><style data-mw-deduplicate="TemplateStyles:r228712691">
/* start https://fr.wikipedia.org/ */
.mw-parser-output .entete.informatique{background-image:url("./_mw_/Picto.nfo.png")}
/* end https://fr.wikipedia.org/ */
</style>
<div>Code::Blocks</div>
</div>
<div class="images">
</div>
<div class="hr" style="height:2px;"></div>
<div class="images">
</div>
<div class="legend">Code::Blocks sur <a href="Mac_OS" class="mw-redirect" title="Mac OS">Mac OS</a></div>
<table><caption style="color:#000000;">Informations</caption>
<tbody><tr>
<th scope="row"><a href="D%C3%A9veloppeur" title="Développeur">Développé par</a></th>
<td>
The Code::Blocks team</td>
</tr>
<tr>
<th scope="row"> <a href="Version_d'un_logiciel" title="Version d'un logiciel">Première version</a>
</th>
<td>
<span class="wd_p571"><time>2005</time></span></td>
</tr>
<tr>
<th scope="row"> <a href="Version_d'un_logiciel" title="Version d'un logiciel">Dernière version</a>
</th>
<td>
<span class="wd_p348">25.03 (<time class="nowrap" datetime="2025-03-31" data-sort-value="2025-03-31">31 mars 2025</time>)<sup id="cite_ref-wikidata-5ba89ffcdd787784be8a5063a5d1519f1fef4141_1-0" class="reference"><a href="#cite_note-wikidata-5ba89ffcdd787784be8a5063a5d1519f1fef4141-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup></span></td>
</tr>
<tr>
<th scope="row"><a href="D%C3%A9p%C3%B4t_(informatique)" title="Dépôt (informatique)">Dépôt</a></th>
<td>
<span class="wd_p1324"><a rel="nofollow" class="external text" href="https://svn.code.sf.net/p/codeblocks/code/trunk">svn.code.sf.net/p/codeblocks/code/trunk</a></span></td>
</tr>
<tr>
<th scope="row"> <a href="Langage_de_programmation" title="Langage de programmation">Écrit en</a>
</th>
<td>
<span class="wd_p277"><a href="C%2B%2B" title="C++">C++</a></span></td>
</tr>
<tr>
<th scope="row"> <a href="Interface_graphique" title="Interface graphique">Interface</a>
</th>
<td>
<span class="wd_p1414"><a href="WxWidgets" title="WxWidgets">WxWidgets</a></span></td>
</tr>
<tr>
<th scope="row"><a href="Syst%C3%A8me_d'exploitation" title="Système d'exploitation">Système d'exploitation</a></th>
<td>
<span class="wd_p306">Multiplateforme <small>(<a href="https://www.wikidata.org/wiki/Q174666" class="extiw external" title="d:Q174666"><span class="indicateur-langue" title="Voir l'élément Wikidata correspondant">d</span></a>)</small> et <a href="Type_Unix" title="Type Unix">type Unix</a></span></td>
</tr>
<tr>
<th scope="row"><a href="Format_de_donn%C3%A9es" title="Format de données">Formats</a> lus</th>
<td>
<span class="wd_p1072">Code::Blocks Dependencies <small>(<a href="https://www.wikidata.org/wiki/Q105855872" class="extiw external" title="d:Q105855872"><span class="indicateur-langue" title="Voir l'élément Wikidata correspondant">d</span></a>)</small>, Code::Blocks Project <small>(<a href="https://www.wikidata.org/wiki/Q105850580" class="extiw external" title="d:Q105850580"><span class="indicateur-langue" title="Voir l'élément Wikidata correspondant">d</span></a>)</small>, Code::Blocks Workspace Layout <small>(<a href="https://www.wikidata.org/wiki/Q105860948" class="extiw external" title="d:Q105860948"><span class="indicateur-langue" title="Voir l'élément Wikidata correspondant">d</span></a>)</small>, Code::Blocks lexer <small>(<a href="https://www.wikidata.org/wiki/Q105762908" class="extiw external" title="d:Q105762908"><span class="indicateur-langue" title="Voir l'élément Wikidata correspondant">d</span></a>)</small> et Code::Blocks wxSmith resource <small>(<a href="https://www.wikidata.org/wiki/Q105856644" class="extiw external" title="d:Q105856644"><span class="indicateur-langue" title="Voir l'élément Wikidata correspondant">d</span></a>)</small></span></td>
</tr>
<tr>
<th scope="row"><a href="Format_de_donn%C3%A9es" title="Format de données">Formats</a> écrits</th>
<td>
<span class="wd_p1073">Code::Blocks Project <small>(<a href="https://www.wikidata.org/wiki/Q105850580" class="extiw external" title="d:Q105850580"><span class="indicateur-langue" title="Voir l'élément Wikidata correspondant">d</span></a>)</small></span></td>
</tr>
<tr>
<th scope="row"> Type
</th>
<td>
<a href="Environnement_de_d%C3%A9veloppement_int%C3%A9gr%C3%A9" class="mw-redirect" title="Environnement de développement intégré">Environnement de développement intégré</a></td>
</tr>
<tr>
<th scope="row"><a href="Licence_de_logiciel" title="Licence de logiciel">Licence</a></th>
<td>
<span class="wd_p275"><a href="Licence_publique_g%C3%A9n%C3%A9rale_GNU" title="Licence publique générale GNU">Licence publique générale GNU version 3</a></span></td>
</tr>
<tr>
<th scope="row"><a href="Documentation_logicielle" title="Documentation logicielle">Documentation</a></th>
<td>
<span class="wd_p2078"><a rel="nofollow" class="external text" href="https://www.codeblocks.org/docs/manual_codeblocks_en.pdf">www.codeblocks.org/docs/manual_codeblocks_en.pdf</a>, <a rel="nofollow" class="external text" href="https://www.codeblocks.org/docs/manual_codeblocks_en.chm">www.codeblocks.org/docs/manual_codeblocks_en.chm</a>, <a rel="nofollow" class="external text" href="https://www.codeblocks.org/docs/main_codeblocks_en.html">www.codeblocks.org/docs/main_codeblocks_en.html</a>, <a rel="nofollow" class="external text" href="https://www.codeblocks.org/docs/manual_codeblocks_fr.pdf">www.codeblocks.org/docs/manual_codeblocks_fr.pdf</a>, <a rel="nofollow" class="external text" href="https://www.codeblocks.org/docs/manual_codeblocks_fr.chm">www.codeblocks.org/docs/manual_codeblocks_fr.chm</a> et <a rel="nofollow" class="external text" href="https://www.codeblocks.org/docs/main_codeblocks_fr.html">www.codeblocks.org/docs/main_codeblocks_fr.html</a></span></td>
</tr>
<tr>
<th scope="row"><a href="Site_web" title="Site web">Site web</a></th>
<td>
<span class="wd_p856"><a rel="nofollow" class="external text" href="https://www.codeblocks.org/">www.codeblocks.org</a></span></td>
</tr>
</tbody></table>
<p class="mw-empty-elt">
</p>
</div>
<p><b>Code::Blocks</b> est un <a href="Environnement_de_d%C3%A9veloppement_int%C3%A9gr%C3%A9" class="mw-redirect" title="Environnement de développement intégré">environnement de développement intégré</a> <a href="Logiciel_libre" title="Logiciel libre">libre</a> et <a href="Multiplate-forme" class="mw-redirect" title="Multiplate-forme">multiplate-forme</a>. Il est écrit en <a href="C%2B%2B" title="C++">C++</a> et utilise la <a href="Biblioth%C3%A8que_logicielle" title="Bibliothèque logicielle">bibliothèque</a> <a href="WxWidgets" title="WxWidgets">wxWidgets</a>. Code::Blocks est orienté <a href="C_(langage)" title="C (langage)">C</a> et <a href="C%2B%2B" title="C++">C++</a>, mais il supporte d'autres langages comme <a href="Fortran" title="Fortran">Fortran</a> ou <a href="D_(langage)" title="D (langage)">D</a>.
</p><p>Code::Blocks existe pour <a href="Linux" title="Linux">Linux</a>, <a href="Windows" class="mw-redirect" title="Windows">Windows</a> et <a href="Mac_OS_X" class="mw-redirect" title="Mac OS X">macOS</a>. Il est également disponible pour <a href="FreeBSD" title="FreeBSD">FreeBSD</a> via les ports<sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup>.
</p><p>Il obtient une note de satisfaction de 4.7 (sur un maximum de 5) de la part de ceux qui l'ont téléchargé sur <a href="SourceForge.net" title="SourceForge.net">SourceForge</a>.
</p>
<div class="mw-heading mw-heading2"><h2 id="Brève_description"><span id="Br.C3.A8ve_description"></span>Brève description</h2></div>
<p>Code::Blocks se veut simple, voire intuitif, d'utilisation pour un programmeur. Il se révèle néanmoins fort complet au fur et à mesure qu'on en explore les options.
</p><p>Son architecture de <a href="Plug-in" class="mw-redirect" title="Plug-in">plug-ins</a> permet de l'étendre et de le personnaliser, tout en n'y incluant que ce que l'on souhaite utiliser. La plupart étant inclus dans l'archive et l'installeur, il n'est cependant pas nécessaire de les installer un à un.
</p>
<div class="mw-heading mw-heading2"><h2 id="Nouvelles_versions">Nouvelles versions</h2></div>
<p>La première version stable a vu le jour le 28 février 2008, portant le numéro de version 8.02. La numérotation a changé pour s'apparenter à celle d'<a href="Ubuntu_(syst%C3%A8me_d'exploitation)" title="Ubuntu (système d'exploitation)">Ubuntu</a>, où le premier et le second nombre représentent respectivement l'année et le mois de la sortie.
</p><p>Au lieu de créer une branche dans le dépôt du logiciel où les bugs seraient corrigés pour la version stable et d'ajouter les nouvelles fonctionnalités dans le tronc, les développeurs ont décidé de les ajouter dans le même espace de code. La version 20.03 est donc la plus récente et la plus stable en novembre 2024<sup id="cite_ref-3" class="reference"><a href="#cite_note-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup>. L'utilisateur peut cependant obtenir des versions non officielles relativement stables, les « <a rel="nofollow" class="external text" href="http://forums.codeblocks.org/index.php?board=20.0"><i><span class="lang-en" lang="en">nightly builds</span></i></a> », afin de suivre les derniers développements<sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup>.
</p>
<div class="mw-heading mw-heading2"><h2 id="Fonctionnalités"><span id="Fonctionnalit.C3.A9s"></span>Fonctionnalités</h2></div>
<p>Cet <a href="Environnement_de_d%C3%A9veloppement_int%C3%A9gr%C3%A9" class="mw-redirect" title="Environnement de développement intégré">environnement de développement intégré</a> étant très complet, cette liste ne présentera que les fonctionnalités les plus importantes.
</p>
<div class="mw-heading mw-heading3"><h3 id="Fonctionnalités_de_compilation"><span id="Fonctionnalit.C3.A9s_de_compilation"></span>Fonctionnalités de compilation</h3></div>
<ul><li>Plusieurs compilateurs supportés<sup id="cite_ref-Features_5-0" class="reference"><a href="#cite_note-Features-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup> :
<ul><li><a href="GNU_Compiler_Collection" title="GNU Compiler Collection">GCC</a>,</li>
<li>SDCC,</li>
<li><a href="Borland" title="Borland">Borland</a> C++ 5.5,</li>
<li><a href="Intel_C%2B%2B_Compiler" title="Intel C++ Compiler">Intel C++ compiler</a>,</li>
<li>GNU Fortran,</li>
<li>GNU ARM,</li>
<li>GNU GDC,</li>
<li>Digital Mars C/C++/D,</li>
<li>Watcom ;</li>
<li><a href="MinGW" title="MinGW">MinGW</a>, la version <a href="Win32" class="mw-redirect" title="Win32">Win32</a> de GCC,</li>
<li><a href="Visual_C%2B%2B" title="Visual C++">Microsoft Visual C++ Toolkit 2003</a>,</li>
<li><a href="Visual_C%2B%2B" title="Visual C++">Microsoft Visual C++ Express 2005</a>,</li></ul></li>
<li>Importation de projet <a href="Dev-C%2B%2B" title="Dev-C++">Dev-C++</a> ;</li>
<li>Importation de projet MSVC ;</li>
<li>Support d'espace de travail ;</li>
<li>Support de cibles de compilation (permettant de personnaliser les options de compilation d'un projet selon la plate-forme: OS, compilateur, bibliothèques présentes…).</li></ul>
<div class="mw-heading mw-heading3"><h3 id="Autres_fonctionnalités"><span id="Autres_fonctionnalit.C3.A9s"></span>Autres fonctionnalités</h3></div>
<ul><li><a href="Coloration_syntaxique" title="Coloration syntaxique">Coloration syntaxique</a></li>
<li>Formatage et <a href="Style_d'indentation" title="Style d'indentation">indentation</a> du code automatique, utilisant <a href="Astyle" class="mw-redirect" title="Astyle">astyle</a></li>
<li><a href="Pliage_de_code" title="Pliage de code">Masquage des blocs de code</a></li>
<li>Complétions paramétrables et <a href="Compl%C3%A8tement" class="mw-redirect" title="Complètement">complètement</a> automatique du code</li>
<li>Complémentation configurable : On tape un mot-clef, ensuite Ctrl-J, et le mot-clef est remplacé par le bloc de code correspondant.</li>
<li>Navigateur de <a href="Classe_(informatique)" title="Classe (informatique)">classes</a></li>
<li>Moteur de scripting <a href="Squirrel_(langage_de_programmation)" title="Squirrel (langage de programmation)">Squirrel</a></li>
<li>Gestionnaire de <a href="Todo_list" class="mw-redirect" title="Todo list">Todo list</a> avec différents utilisateurs</li>
<li>Support des Devpacks sous Windows (paquets pour <a href="Dev-C%2B%2B" title="Dev-C++">Dev-C++</a>)</li>
<li>Plugin wxSmith : un outil de <a href="D%C3%A9veloppement_rapide_d'applications" title="Développement rapide d'applications">développement rapide d'applications</a> pour <a href="WxWidgets" title="WxWidgets">wxWidgets</a>.</li></ul>
<p>Au 15 juin 2017, il est évalué en satisfaction à 4.7 (sur une échelle de 5)
</p>
<div class="mw-heading mw-heading2"><h2 id="Notes_et_références"><span id="Notes_et_r.C3.A9f.C3.A9rences"></span>Notes et références</h2></div>
<div class="references-small decimal" style=""><div class="mw-references-wrap"><ol class="references">
<li id="cite_note-wikidata-5ba89ffcdd787784be8a5063a5d1519f1fef4141-1"><span class="mw-cite-backlink"><a href="#cite_ref-wikidata-5ba89ffcdd787784be8a5063a5d1519f1fef4141_1-0">↑</a> </span><span class="reference-text"><span class="ouvrage">« <a rel="nofollow" class="external text" href="https://www.codeblocks.org/post/codeblocks-25.03-is-here/"><cite style="font-style:normal;"><span class="lang-en" lang="en">Code::Blocks 25.03 is here!</span></cite></a> », <time class="nowrap" datetime="2025-03-31" data-sort-value="2025-03-31">31 mars 2025</time> <small style="line-height:1em;">(consulté le <time class="nowrap" datetime="2025-07-04" data-sort-value="2025-07-04">4 juillet 2025</time>)</small></span></span>
</li>
<li id="cite_note-2"><span class="mw-cite-backlink"><a href="#cite_ref-2">↑</a> </span><span class="reference-text"><span class="ouvrage">« <a rel="nofollow" class="external text" href="https://www.freshports.org/devel/codeblocks"><cite style="font-style:normal;">Site Freshports.org</cite></a> »</span></span>
</li>
<li id="cite_note-3"><span class="mw-cite-backlink"><a href="#cite_ref-3">↑</a> </span><span class="reference-text"><span class="ouvrage" id="2020"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> « <a rel="nofollow" class="external text" href="https://www.codeblocks.org/post/codeblocks-20.03-is-here/"><cite style="font-style:normal;" lang="en">Code::Blocks 20.03 is here!</cite></a> », sur <span class="italique">www.codeblocks.org</span>, <time class="nowrap" datetime="2020-03-19" data-sort-value="2020-03-19">19 mars 2020</time> <small style="line-height:1em;">(consulté le <time class="nowrap" datetime="2024-11-16" data-sort-value="2024-11-16">16 novembre 2024</time>)</small></span></span>
</li>
<li id="cite_note-4"><span class="mw-cite-backlink"><a href="#cite_ref-4">↑</a> </span><span class="reference-text"><span class="ouvrage">« <a rel="nofollow" class="external text" href="https://forums.codeblocks.org/index.php/board,20.0.html"><cite style="font-style:normal;">Nightly builds</cite></a> », sur <span class="italique">forums.codeblocks.org</span> <small style="line-height:1em;">(consulté le <time class="nowrap" datetime="2024-11-16" data-sort-value="2024-11-16">16 novembre 2024</time>)</small></span></span>
</li>
<li id="cite_note-Features-5"><span class="mw-cite-backlink"><a href="#cite_ref-Features_5-0">↑</a> </span><span class="reference-text"><span class="ouvrage"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> « <a rel="nofollow" class="external text" href="https://www.codeblocks.org/features/"><cite style="font-style:normal;" lang="en">Features</cite></a> », sur <span class="italique">www.codeblocks.org</span> <small style="line-height:1em;">(consulté le <time class="nowrap" datetime="2024-11-16" data-sort-value="2024-11-16">16 novembre 2024</time>)</small></span></span>
</li>
</ol></div>
</div>
<div class="mw-heading mw-heading2"><h2 id="Liens_externes">Liens externes</h2></div>
<ul><li><cite class="ouvrage" id="site_officiel" style="font-style: normal;"><span class="wd_p856"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> <a rel="nofollow" class="external text" href="https://www.codeblocks.org/">Site officiel</a></span></cite></li>
<li><a rel="nofollow" class="external text" href="https://www.framasoft.net/article4420.html">Article</a> de Framasoft</li>
<li><a rel="nofollow" class="external text" href="http://openclassrooms.com/courses/programmez-avec-le-langage-c">Article</a> de OpenClassRoom pour le C++ avec Code::Blocks</li>
<li><abbr class="abbr indicateur-langue" title="Langue : français">(fr)</abbr> <abbr class="abbr indicateur-format format-pdf" title="Document au format Portable Document Format (PDF)">[PDF]</abbr> <a rel="nofollow" class="external text" href="http://www.codeblocks.org/docs/manual_fr.pdf">Manuel de référence en français</a></li></ul>
<div class="navbox-container" style="clear:both;">
</div>
<ul id="bandeau-portail" class="bandeau-portail"><li><span class="bandeau-portail-element"><span class="bandeau-portail-icone"><span class="noviewer" typeof="mw:File"></span></span> <span class="bandeau-portail-texte">Portail de la programmation informatique</span> </span></li> <li><span class="bandeau-portail-element"><span class="bandeau-portail-icone"><span class="noviewer" typeof="mw:File"></span></span> <span class="bandeau-portail-texte">Portail des logiciels libres</span> </span></li> </ul></div><!--htdig_noindex--><div><div class="zim-footer">
Cet article est issu de <a class="external text" title="Dernière modification le 2025-09-20" href="https://fr.wikipedia.org/wiki/?title=Code%3A%3ABlocks&oldid=229112885">Wikipédia</a>. Sauf mention contraire, le texte est disponible sous <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.fr">Creative Commons Attribution-Share Alike 4.0</a>. Des conditions supplémentaires peuvent s’appliquer aux fichiers multimédias.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
<script src="./_webp_/webpHandler.js"></script>
</body></html>